<template>
  <window class="m-import-detail" ref="win" title="导入详情">
    <div>
      <el-table
        :data="tableData"
        border
        empty-text="暂无数据"
        stripe
        style="min-width: 100%">
        <el-table-column
          prop="validateStatus"
          align="center"
          label="导入状态">
          <template scope="scope">
            <div>{{{'1':'成功','2':'失败'}[scope.row.validateStatus]}}</div>
          </template>
        </el-table-column>
        <el-table-column
          prop="validateMsg"
          align="center"
          label="原因">
        </el-table-column>
        <el-table-column
          prop="studentName"
          align="center"
          label="学生姓名">
        </el-table-column>
        <el-table-column
          prop="gradeName"
          align="center"
          label="年级">
        </el-table-column>
        <el-table-column
          prop="bigCategory"
          align="center"
          label="来源大类">
        </el-table-column>
        <el-table-column
          prop="smallCategory"
          align="center"
          label="来源小类">
        </el-table-column>
        <el-table-column
          prop="campusName"
          align="center"
          label="意向校区">
        </el-table-column>
        <el-table-column
          prop="phoneNo"
          align="center"
          label="电话号码">
        </el-table-column>
        <el-table-column
          prop="projectName"
          align="center"
          label="项目活动名称">
        </el-table-column>
        <el-table-column
          align="center"
          label="紧急程度">
          <template scope="scope">
            <div>{{{'0':'低','1':'中','2':'高'}[scope.row.priority]}}</div>
          </template>
        </el-table-column>
        <el-table-column
          prop="remark"
          align="center"
          label="备注">
        </el-table-column>



      </el-table>
    </div>
  </window>
</template>

<script>
  import io from '../../lib/io'

  export default{
    data: function () {
      return {
        tableData: [],
      }
    },
    created () {

    },
    methods:{
      show:function(){
        this.$refs.win.show( { width : 1000 } )
      }
    }
  }

</script>
